<template>
  <div>
    <ul v-addBgColor="color">
      <li v-for="name in names" :key="name">{{ name }}</li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "MyVue02",
  data() {
    return {
      color: 'red',
      names: ['侯堪祥', '任乾语', '刘又铭', '刘德利', '陈立明'],
    }
  }
}
</script>
